import { BaseModel, DoctorGrouponModel, DoctorModel, CustomerPatientModel, DoctorMedicalRecordModel } from "../index";

export class DoctorGrouponOrderModel extends BaseModel {

    /**
     * 客户id
     */
    customerId: number;
    /**
     * 就诊人员id
     */
    patientId: number;

    doctorId: number;

    orderAmount: any;
    /**
     * 支付id
     */
    paymentId: number;
    /**
     * 拼团编号/就诊码
     */
    grouponNo: string;
    /**
     * 团购id
     */
    grouponId: number;
    /**
     * 支付状态 0取消 1已付款 2未付款
     */
    payStatus: number;
    /**
     * 退款状态 1已退款 2未退款 0退款失败
     */
    refundStatus: number;
    /**
     * 就诊状态 0已取消 1订单完成 2未支付/未成团 3 已支付/已成团/未初诊 4 就诊完成/已初诊/未复诊 5复诊完成  6 退款中 7 已退款 8 已过期
     */
    status: number;

    doctorGrouponBO: DoctorGrouponModel;

    doctorBO: DoctorModel

    customerPatientBO: CustomerPatientModel;

    doctorMedicalRecordBO: DoctorMedicalRecordModel
    province: string
    city: string
    district: string

}